#ifdef CHANGED

//======== CSCI402 Project 1, Part 2 ========

#ifndef MOVIE_THEATER_H
#define MOVIE_THEATER_H

#include "synch.h"
#include "system.h"
#include <assert.h>

//======== Special Functions ========

int getNumAvailableSeats();

int getNumTakenSeats();

int getNumFreeSeats(int row);

int getBiggestRow();

int getSmallestRowThatFits(int numPeopleToSeat);

void setupMovieTheater(int numTicketClerks, int numConcessionClerks, int numTicketTakers,
	int numCustomers, int numGroups, int maxGroupSize, int customerInitMode,
	bool printTestCaseMessages, bool enableBreaks);
	
void setupMovieTheater();

//======== Thread Functions ========

void Customer(int myIndex);

void TicketClerk(int myIndex);

void ConcessionClerk(int myIndex);

void TicketTaker(int myIndex);

void Manager(int myIndex);

void MovieTechnician(int myIndex);

#endif

#endif //CHANGED











